using System;
using System.Collections.Generic;
using System.Text;
using System.Web.UI.WebControls;
using System.ComponentModel;

namespace Emlyn.Website.Base
{
    public class PresentBase : CompositeControl
    {
        [Bindable(true)]
        [Category("Appearance")]
        [DefaultValue("")]
        [Localizable(true)]
        public bool Editable
        {
            get
            {
                return Convert.ToBoolean(ViewState["Editable"]);
            }
            set
            {
                ViewState["Editable"] = Convert.ToString(value);
            }
        }
    }
}
